



Route::group(function () {
    //问卷
        Route::get("/survey_theme", "app\admin\controller\Survey@survey_theme")->name("survey.theme");// 列表
        Route::post("/survey_theme_create", "app\admin\controller\Survey@survey_theme_create")->name("survey.survey_theme_create");// 添加
        Route::post("/survey_theme_edit", "app\admin\controller\Survey@survey_theme_edit")->name("survey.survey_theme_edit"); //编辑
        Route::post("/survey_theme_delete", "app\admin\controller\Survey@survey_theme_delete")->name("survey.survey_theme_delete"); //删除
        Route::get("/survey_theme_detail", "app\admin\controller\Survey@survey_theme_detail")->name("survey.survey_theme_detail"); //详情
        Route::post("/survey_question_import", "app\admin\controller\Survey@import")->name("survey.survey_question_import"); //导入

        Route::get("/survey_question_index", "app\admin\controller\Survey@survey_question_index")->name("survey.survey_question_index");// 列表
        Route::post("/survey_question_create", "app\admin\controller\Survey@survey_question_create")->name("survey.survey_question_create");// 添加
        Route::get("/survey_question_detail", "app\admin\controller\Survey@survey_question_detail")->name("survey.survey_question_detail");// 详情
        Route::post("/survey_question_edit", "app\admin\controller\Survey@survey_question_edit")->name("survey.survey_question_edit"); //编辑
        Route::post("/survey_question_delete", "app\admin\controller\Survey@survey_question_delete")->name("survey.survey_question_delete"); //删除
        Route::post("/survey_del_option", "app\admin\controller\Survey@del_option")->name("survey.del_option"); //删除选项

        Route::get("/survey_record", "app\admin\controller\Survey@survey_record")->name("survey.survey_record");// 答题记录
         Route::post("/survey_export", "app\admin\controller\Survey@survey_export")->name("survey.export");// 答题记录导出
    })
->allowCrossDomain()// 跨域
->middleware(middleware\Auth::class)// jwt认证
->middleware(middleware\Permission::class);// 权限认证